.use-motion .sidebar .motion-element { opacity: 1; }

.sidebar {
  margin: 0;
  background: #fff;
  border-radius: 5px;

  // Do NOT delete this line
  // or Affix (position: fixed) will not work in Google Chrome.
  -webkit-transform: none;
}


.sidebar-inner {
  padding: 20px;
  box-sizing: border-box;
  width: 100%;
  color: $text-color;
  background: white;
  box-shadow: $box-shadow;
  border-radius: $border-radius;
  border-radius: 5px;
  z-index: 2;
  if (hexo-config('motion.enable') and hexo-config('motion.transition.sidebar')) { opacity: 0; }

  &.affix {
    position: fixed;
    top: $sidebar-offset;
    width: $sidebar-desktop;
  }

  &.affix-bottom {
    position: absolute;
    width: $sidebar-desktop;
  }

}

.site-overview {
  margin: 0 2px;
  text-align: left;
}

.site-author {
  clearfix();
  position: relative;
}

.site-author-image {
  max-width: none;
  width: 100%;
  border: none;
  padding: 0;
}

.site-author-name {
  position: absolute;
  bottom: 36px;
  margin: 0 0 0 -65px;
  font-size: 20px;
  letter-spacing: .5px;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0,0,0,.7);
  font-weight: 700;
  width: 130px;
  left: 50%;
}

.site-description {
  font-size: 14px;
  margin: 5px 0 8px;
  font-weight: 700;
  color: #555;
}

.sidebar a {
  color: $black-light;

  &:hover { color: $black-deep; }
}

.site-state-item {
  padding: 0 10px;
}

.links-of-author-item {
  a:before { display: none; }
  a {
    border-bottom: none;
    text-decoration: underline;
  }
}

.feed-link {
  text-align: center;
  margin: 10px 0 10px;
}

.feed-link a {
  display: block;
  color: $orange;
  border: none;

  &:hover {
    background: none;
    color: darken($orange, 20%);

    i { color: darken($orange, 20%); }
  }
}

.links-of-author {
  //clearfix();
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 20px;
}
.links-of-author-item {
  sidebar-inline-links-item();

  a {
    display: block;
    text-decoration: none;
    overflow: visible;

    &:hover {
      .fa {
        background: $main-color;
        color: #fff;
      }
    }
  }

  .fa {
    font-size: 16px;
    display: inline-block;
    width: 42px;
    height: 42px;
    line-height: 42px;
    border-radius: 42px;
    color: rgba(0,0,0,.5);
    background-color: rgba(0,0,0,.1);
    transition: all .3s ease-in-out;
    font-style: normal;
  }
  .fa-globe { font-size: 15px; }
}


.links-of-blogroll {
  text-align: center;
  margin-top: 20px;
  padding: 3px 0 0;
  border-top: 1px dotted $grey-light;
}
.links-of-blogroll-title { margin-top: 0; }
.links-of-blogroll-item { padding: 0; }
.links-of-blogroll-inline {
  clearfix();

  .links-of-blogroll-item {
    sidebar-inline-links-item();
    display: inline-block;
    if !hexo-config('social_icons.icons_only') { width: unset; }
  }
}

.fa-more:before {
    content: "∙∙∙";
}

.post-toc .nav .nav-child {
  display: block;
}

.back-to-top {
    cursor: pointer;
    position: fixed;
    right: 50px;
    top: -900px;
    z-index: 2;
    width: 70px;
    height: 900px;
    background: url('../images/scroll.png');
    transition: all .5s ease-in-out;
    opacity: 1;
}
